﻿using Shop.Model.DB;
using Shop.RemoteModel.LogisticsTemplate.Model;
using WeDonekRpc.Model;

namespace Shop.Repository
{
    public interface ILogisticsTemplateRepository : IShopBaseRepository<DBLogisticsTemplate, long>
    {
        long Add (LogisticsTemplateDatum datum);
        Result[] Query<Result> (LTQueryParam query, IBasicPage paging, out int count) where Result : class;
        void SetIsDefault (long id, long cancelId);
        void SetIsEnable (long id, bool isEnable);
    }
}